class CreateRoleRights < ActiveRecord::Migration
  def self.up
    create_table :role_rights do |t|
      t.column :role_id,          :integer
      t.column :right_id,         :integer
      t.column :created_on,       :timestamp
    end
  end
  
  def self.down
    drop_table :role_rights
  end
end
